
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;
using WinformDevelopFrame.Common;

namespace WinformDevelopFrame.Entity
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("sysuser")]
    public partial class sysuser
    {
        public sysuser()
        {


        }
        /// <summary>
        /// 
        /// </summary>   
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [ModelBindControl("Id")]
        public int Id { get; set; }
        /// <summary>
        /// 数据ID
        /// </summary>   
        [ModelBindControl("BId")]
        public int BId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>   
        [ModelBindControl("UserName")]
        public string UserName { get; set; }
        /// <summary>
        /// 登陆账号
        /// </summary>   
        [ModelBindControl("LoginAccount")]
        public string LoginAccount { get; set; }
        /// <summary>
        /// 密码
        /// </summary>   
        [ModelBindControl("Password")]
        public string Password { get; set; }
        /// <summary>
        /// 电话
        /// </summary>   
        [ModelBindControl("Iphone")]
        public string Iphone { get; set; }
        /// <summary>
        /// 地址
        /// </summary>   
        [ModelBindControl("Address")]
        public string Address { get; set; }
        /// <summary>
        /// 部门
        /// </summary>   
        [ModelBindControl("DeptId")]
        public int DeptId { get; set; }
        /// <summary>
        /// 直接领导
        /// </summary>   
        [ModelBindControl("LeaderId")]
        public int LeaderId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>   
        [ModelBindControl("Status")]
        public string Status { get; set; }
        /// <summary>
        /// 性别
        /// </summary>   
        [ModelBindControl("Sex")]
        public string Sex { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>   
        [ModelBindControl("Email")]
        public string Email { get; set; }
        /// <summary>
        /// 最后登录事件
        /// </summary>   
        [ModelBindControl("LoginLastTime")]
        public DateTime LoginLastTime { get; set; }
        /// <summary>
        /// 角色
        /// </summary>   
        [ModelBindControl("RoleId")]
        public int RoleId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>   
        [ModelBindControl("CreateUserId")]
        public int CreateUserId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>   
        [ModelBindControl("CreateTime")]
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>   
        [ModelBindControl("UpdateUserId")]
        public int UpdateUserId { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>   
        [ModelBindControl("UpdateTime")]
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 登陆状态
        /// </summary>   
        //[ModelBindControl("LoginStatus")]
        public string LoginStatus { get; set; } = WinformDevelopFrame.Common.LoginStatus.Logout;

        /// <summary>
        /// 登录IP
        /// </summary>   
        //[ModelBindControl("IP")]
        public string IP { get; set; }

    }
}
